package com.gagakuai.datasource.unpooled;

import javax.sql.DataSource;
import java.util.Properties;

/*
 * @program: settement
 * @description: 数据源工厂
 * @author: houhong
 * @create: 2022-11-09 19:37
 */
public interface DataSourceFactory {
    /*
     * @param props
     * @Description //TODO 设置属性
     */
    void setProperties(Properties props);

    /*
     * @Description //TODO 获取数据源
     */
    DataSource getDataSource();

}